<!--引入头部文件-->
{template "content","header"}
<link rel="stylesheet" href="{CSS_PATH}/css/achievements.css" />
<!--引入导航条-->
{template "content","nav"}
<!--标题图片-->
<div class="thumb">
    <img src="{IMG_PATH}/img/1.png">
</div>
<!--主体-->
<div class="dcit-main">
    <div class="sub-nav">
        <div class="sub">
            <dl>
                <dt>学校概况</dt>
                {pc:content action="category" catid="6" order="listorder ASC"}
                    {loop $data $r}
                        <dd {if $catid==$r['catid']} class="active" {/if}>
                            <a href="{$r['url']}">{$r['catname']}<i class="icon iconfont icon-arrows-r"></i></a>
                        </dd>
                    {/loop}
                {/pc}
            </dl>
        </div>
        <div class="leave-word">
            <div class="title clearfix">
                <div><i class="icon iconfont icon-leave-word"></i></div>
                <div>
                    <p>留言板</p><small>Message Board</small></div>
            </div>
            <div class="leave-center">
                <input type="text" placeholder="请留下您宝贵的意见或建议" /><span><i class="icon iconfont icon-send"></i></span>
            </div>
        </div>
        <div class="links">
            <h3>相关链接</h3>
            <small>欢迎来到神岗山中学</small>
            {template "content","link"}
        </div>
    </div>
    <div class="main">
        <!--面包屑导航-->
        <div class="breadcrumb">
            <ul>
                <li>
                    <a href="/"><i class="icon iconfont icon-house"></i></a>
                    {catpos($catid)}
                </li>
            </ul>
            <div class="line"></div>
        </div>
        <!---->
        <div class="content">
            {pc:content action="lists" catid="$catid" num="25" order="id DESC" page="$page" moreinfo="1"}
                {loop $data $r}
                <div>
                    <div class="ach-title">
                        <div><span>{$r[title]}</span><small class="hide">{date('Y-m-d H:i:s',$r[inputtime])}</small></div><i class="icon iconfont icon-add"></i></div>
                    <div class="ach-main hide">
                        <div class="ach-content">{$r[content]}</div>
                        <div class="ach-img">
                            <img src="{thumb($r[thumb], 232, 173)}">
                        </div>
                    </div>
                </div>
                {/loop}
        </div>

        <!--分页-->
        <div class="page">
            {$pages}
        </div>
        {/pc}
    </div>
</div>
{template "content","footer"}